/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 * No deletion without permission, or be held responsible to law.
 * @author Cheng
 */
import { defHttp } from '/@/utils/http/axios';
import { useGlobSetting } from '/@/hooks/setting';
import { BasicModel, Page } from '/@/api/model/baseModel';

const { adminPath } = useGlobSetting();

export interface countRegion extends BasicModel<countRegion> {
 name?:string;//企业名称
 pageNo?:number;//当前页码
 pageSize?:number;//每页条数
 sortFiled?:string;//排序字段；
 sortOrder?:string;//排序方式
 count?:number;//数据总数
 otherDate?:object;//附加数据
}



export const countRegion = (params?:countRegion | any) =>
  defHttp.postJson<countRegion>({ url: adminPath + '/unitmanage/unitRegion/countRegion', params});


